/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.mine.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.mine.entity.Roadway;
import com.thinkgem.jeesite.modules.mine.dao.RoadwayDao;

/**
 * 巷道信息Service
 * @author developer
 * @version 2018-10-27
 */
@Service
@Transactional(readOnly = true)
public class RoadwayService extends CrudService<RoadwayDao, Roadway> {
	public Roadway get(String id) {
		return super.get(id);
	}
	
	public List<Roadway> findList(Roadway roadway) {
		return super.findList(roadway);
	}
	
	public Page<Roadway> findPage(Page<Roadway> page, Roadway roadway) {
		return super.findPage(page, roadway);
	}
	
	@Transactional(readOnly = false)
	public void save(Roadway roadway) {
		super.save(roadway);
	}
	
	@Transactional(readOnly = false)
	public void delete(Roadway roadway) {
		super.delete(roadway);
	}
	
	public List<Roadway> findListByMineId(String mineId){
		return dao.findListByMineId(mineId);
	}
	
}